Leadtools.Forms.Auto Namespace > AutoFormsEngine Class > RecognizeForm Method : RecognizeForm(RasterImage,List<IMasterFormsCategory>) Method |
public AutoFormsRecognizeFormResult RecognizeForm( RasterImage form, List<IMasterFormsCategory> categories )
'Declaration Public Overloads Function RecognizeForm( _ ByVal form As RasterImage, _ ByVal categories As List(Of IMasterFormsCategory) _ ) As AutoFormsRecognizeFormResult
'Usage Dim instance As AutoFormsEngine Dim form As RasterImage Dim categories As List(Of IMasterFormsCategory) Dim value As AutoFormsRecognizeFormResult value = instance.RecognizeForm(form, categories)
public AutoFormsRecognizeFormResult RecognizeForm( RasterImage form, List<IMasterFormsCategory> categories )
function Leadtools.Forms.Auto.AutoFormsEngine.RecognizeForm(RasterImage,List{IMasterFormsCategory})( form , categories )
public: AutoFormsRecognizeFormResult^ RecognizeForm( RasterImage^ form, List<IMasterFormsCategory^>^ categories )
If RecognizeFirstPageOnly is true, the type of the form will be recognized based only on the first page of the form. If it is false the recognition will be done using all form image pages.
The form should have all form pages if RecognizeFirstPageOnly is set to false.
If all Master Forms have a different first page, then recognizing the form according to its first page will be faster.
The recognition of the form will stop comparing the form with other Master Forms either when the confidence of the recognition result is greater or equal to MinimumConfidenceRecognized or when the the Master Forms have all been compared.
The result of the recognition will be the result of the Master Form with maximum confidence. If the confidence is less than MinimumConfidenceKnownForm it will return null, i.e. the form type is unknown and cannot be recognized.
This method is useful when you have unknown forms and you want to recognize the types of these forms to archive, classify, and process.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2